package com.xiaoyu.shenyou.shenyouv1.mapper;

import com.xiaoyu.shenyou.shenyouv1.entity.RecordEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RecordMapper {
    public RecordEntity selectRecordLast();

    public void insertRecord(RecordEntity record);

    public List<RecordEntity> slectRecordsBySzie(@Param("size") int size);

    public List<RecordEntity> queryRecords(@Param("size") int size);
}
